function [PlagOliv_OPALM] = PlagOlivProps_QPOC(OPALM)
    CPX = OPALM(:,4);
    PLAG  = OPALM(:,2);
    OLIV  = OPALM(:,3);
    A = CPX./(PLAG+CPX+OLIV);
    B = PLAG./(PLAG+CPX+OLIV);
    C = OLIV./(PLAG+CPX+OLIV);
    
    YMODE_NEW=A.*(sqrt(3)/2);
    XMODE_NEW=0.5+(((C./(C+B))-0.5).*2.*(0.866-YMODE_NEW).*tan(pi/6));
    PlagOliv_OPALM = [1-XMODE_NEW XMODE_NEW];
    %PlagOliv_OPALM = PlagOliv_OPALM./sum(PlagOliv_OPALM);
end

%{1-'QTZ'}    {2-'PLAG'}    {'3-OLIV'} {4-'CPX'}    {5-'OX'}    {6-'OR'}    {7-'AP'} 